﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Admin.Master" Inherits="System.Web.Mvc.ViewPage<VERKProjectHopur16.Models.QA>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	RemoveQA
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <h2>RemoveQA</h2>

    <h3>Are you sure you want to delete this?</h3>
    <fieldset>
        <legend>Fields</legend>
        
        <div class="display-label">QAID</div>
        <div class="display-field"><%: Model.QAID %></div>
        
        <div class="display-label">Question</div>
        <div class="display-field"><%: Model.Question %></div>
        
        <div class="display-label">Answer</div>
        <div class="display-field"><%: Model.Answer %></div>
        
        <div class="display-label">InsertDate</div>
        <div class="display-field"><%: String.Format("{0:g}", Model.InsertDate) %></div>
        
        <div class="display-label">CreatorEmail</div>
        <div class="display-field"><%: Model.CreatorEmail %></div>
        
        <div class="display-label">Answered</div>
        <div class="display-field"><%: Model.Answered %></div>
        
        <div class="display-label">DepartmentID</div>
        <div class="display-field"><%: Model.DepartmentID %></div>
        
        <div class="display-label">AnswerID</div>
        <div class="display-field"><%: Model.AnswerID %></div>
        
    </fieldset>
    <% using (Html.BeginForm()) { %>
        <p>
		    <input type="submit" value="Delete" /> |
		    <%: Html.ActionLink("Back", "AllQA") %>
        </p>
    <% } %>

</asp:Content>

